﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace GanFeng.Forest.WebApi.Objects
{
    /// <summary>
    /// 设置物料匹配参数
    /// </summary>
    public class SetMaterialMatchingArgs
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonPropertyName("device_code")]
        public string DeviceCode { get; set; } = string.Empty;
        /// <summary>
        /// 物料匹配结果。true 表示物料匹配，false 表示物料不匹配
        /// </summary>
        [JsonPropertyName("result")]
        public bool Result { get; set; }
        /// <summary>
        /// 工步号
        /// </summary>
        [JsonPropertyName("step_number")]
        public int StepNumber { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        [JsonPropertyName("material_code")]
        public short MaterialCode { get; set; }
    }
}
